* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: Arial, sans-serif;
  position: relative;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(27, 27, 27);
  display: flex;
  flex-wrap: wrap;
  z-index: -1;
}

.background img {
  width: 10%;
  height: auto;
  object-fit: cover;
  opacity: 0.2;
}

.login-container {
  width: 100%;
  max-width: 400px;
  margin: 80px auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  text-align: center;
}

input[type="email"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 30px;
  border: 1px solid #ccc;
  outline: none;
}

.main-btn {
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  background: #111;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  margin-bottom: 1rem;
}

a {
  color: #0066ff;
  text-decoration: none;
}

.divider {
  margin: 1rem 0;
  font-size: 0.9rem;
  color: #666;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: #ccc;
  width: 45%;
  position: absolute;
  top: 50%;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.social-btn {
  width: 100%;
  padding: 10px 14px;
  margin: 6px 0;
  border: 1px solid #ccc;
  border-radius: 30px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  color: #000; /* ✅ Ensure button text is black */
  text-decoration: none; /* ✅ Remove potential blue link style */
  appearance: none; /* ✅ Prevent system styles on iOS */
  -webkit-appearance: none; /* ✅ For Safari/iOS */
}

.social-btn img {
  width: 18px;
  height: 18px;
}

.social-btn i {
  font-size: 18px;
}

/*  RESPONSIVE MEDIA QUERY FOR SMALL SCREENS */
@media (max-width: 600px) {
  .login-container {
    margin: 120px auto;
    padding: 2rem;
    max-width: 85%;
    border-radius: 10px;
  }

  input[type="email"],
  .main-btn,
  .social-btn {
    font-size: 15px;
    padding: 10px;
  }

  .social-btn {
    gap: 8px;
  }

  .social-btn img,
  .social-btn i {
    width: 16px;
    height: 16px;
    font-size: 16px;
  }

  .background img {
    width: 20%;
  }
}
@media (max-width: 480px) {
  .login-container {
    margin: 120px auto;
    padding: 2rem;
    max-width: 85%;
    border-radius: 10px;
  }

  h1 {
    font-size: 1.5rem;
  }

  input[type="email"],
  .main-btn,
  .social-btn {
    font-size: 14px;
    padding: 10px;
  }

  .social-btn {
    gap: 8px;
    flex-wrap: nowrap;
    font-size: 13px;
  }

  .social-btn img,
  .social-btn i {
    width: 16px;
    height: 16px;
    font-size: 16px;
  }

  .divider {
    font-size: 0.8rem;
  }

  .background img {
    width: 25%; /* less cluttered */
  }
}
